package com.qfedu.aunt.commons.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 阿姨风采图
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_aunt_mien")
@ApiModel(value="AuntMien对象", description="阿姨风采图")
public class AuntMien implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "风采id")
    @TableId(value = "mien_id", type = IdType.ID_WORKER_STR)
    private String mienId;

    @ApiModelProperty(value = "风采图片")
    private String mienImages;

    @ApiModelProperty(value = "风采描述")
    private String mienDescribe;

    @ApiModelProperty(value = "阿姨id")
    private String auntId;

    @ApiModelProperty(value = "是否删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "离线乐观锁")
    @Version
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date creatTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
